package com.aizuda.boot.modules.business.employee.provider;

import com.aizuda.boot.modules.business.department.domain.response.EmployeePermissionVO;
import com.aizuda.boot.modules.business.employee.domain.request.EmployeeQueryVO;
import com.aizuda.boot.modules.business.employee.domain.request.EmployeeQueryById;
import com.aizuda.boot.modules.business.employee.domain.response.EmployeeQueryShowVO;
import jakarta.validation.Valid;

import java.util.List;

/**
 * @author duanyao
 * @date 2022/12/05 18:07
 * @description 系统角色
 */
public interface EmployeeProvider {

    /**
     * 查询员工
     *
     * @param query
     */
    List<EmployeeQueryShowVO> queryEmployee(EmployeeQueryVO query);

    /**
     * 根据id查询员工
     * @param employeeIds
     * @return
     */
    List<EmployeeQueryShowVO> queryEmployee(@Valid EmployeeQueryById employeeIds);

    /**
     * 查询当前登录员工权限
     * @return
     */
    EmployeePermissionVO queryPermission();
}
